package MD2Model;
/**
 * 	Skin class will hold information about the texture' name
 * 	It include only one field: name is a char array and it take
 * 64 byte for each Skin instance.
 */

public class Skin {
	private char name[]; /* texture file name */

	/**
	 * The default construction will auto alloc 64 byte for the Skin
	 */
	public Skin () {
		name = new char[64];
	}
	
	/**
	 * Set the name for the Skin
	 * @param cname the name of the Skin
	 */
	public void SetName (char[] name){
		this.name = name;
	}
	
	/**
	 * Get the name of Skin
	 * @return name[]
	 */
	public String GetName (){
		return new String(name);
	}
	
	/**
	 * Get total size of the Skin, it should by 64 Bytes.
	 */
	public int GetSize (){
		return 64;
	}
}
